/*
 * FormatterUtils.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.utils;

import java.text.DecimalFormat;

/** 格式化工具类. */
public class FormatterUtils {

    public static String getOnePointNumber(float num) {
        return new DecimalFormat("##0.0").format(num);
    }
}
